<?php

namespace app\model;

use think\Model;

/**
 * 请求记录Model
 */
class RequestLogModel extends Model
{
    protected $name = 'request_log';

    protected $pk = 'id';


    
    /**
     * @return static
     */
    public static function getInstance(): self
    {
        return new static();
    }

    /**
     * @param array $scope
     * @return BaseQuery
     * @author xaboy
     * @day 2020-03-30
     */
    public static function getDB(array $scope = [])
    {
        return self::getInstance()->db($scope);
    }
}
